<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=11">
<meta name="description" content="IOU.INK邮件分发">
<title>IOU.INK邮件分发页面</title>


<!-- JS -->
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="./js/main.js" type="text/javascript" charset="utf-8"></script>
<!-- CSS -->
<link rel="icon" type="image/x-icon" href="https://xyxywan.gitee.io/favicon.ico">
<link rel="stylesheet" type="text/css" href="./css/main.css"/>
</head>
<body onload="connect(); autoload()">
	<!--<img src="https://xyxywan.gitee.io/web/img/banner_bg2.webp" class="bgimg">-->
<div id="bacimg">
	<img src="https://xyxywan.gitee.io/web/img/banner_bg2.webp">
</div>

<span id="mainframe" style="text-align: center;margin: 0;">
	<br>
	<h2 style="margin-top: 60px;">IOU.INK验证邮件分发页面</h2>
	<div id="login" >
	    <div style="opacity: 0.01;position: absolute;z-index: -99;"><!--value="222.186.59.133"value="52018" -->
	        <input id="serverIP" class="tl-price-input" style="width: 120px;" type="text" placeholder="服务器IP" value="42.192.91.114" autofocus="autofocus" /> :
	        <input id="serverPort" class="tl-price-input" style="width: 60px;" type="text" placeholder="服务器端口" value="9999" />
	    </div>
		<br>
	    <div>
			<input id="btnConnect" class="ant-btn ant-btn-primary" type="button" value="未连接" onclick="connect()"/>
			<br><br>
	        <input id="sendText" class="tl-price-input" type="text" placeholder="输入您的邮箱地址" />
	        <input id="btnSend" class="ant-btn ant-btn-red" type="button" value="提交"  onclick="CHeck();waitfuc();" disabled=true/>

		</div>
		<br>
	    <div>
	        
	        <textarea id="txtContent" cols="80" rows="10" readonly="readonly" placeholder="消息记录"></textarea>
	    </div>
	</div>
	
	<div >
		<h1 style="color: #1890FF;">功能：发送验证码到你的邮箱，目前还没有实际应用</h1>
	</div>
	
	<br><br>
	<h1 style="color: #1890FF;">接口:</h1>
	<div id="teach" style="width: 600px;max-width: 80%;background-color: #F9F2F4;margin: auto;opacity: 0.8;border-radius: 10px;">
		<h3 style="color: #000000;">请求地址: http://xyxywan.gitee.io/websocket/</h3>
		<h3 style="color: #000000;">请求参数:</h3>
		<table style="color: #000000;margin: auto;text-align: center; border-collapse: collapse;border:2px solid #1890FF;" border="1" >
			<thead>
				<tr>
					<th>参数</th> 
					<th>值</th> 
					<th>可选</th> 
					<th>说明</th>
				</tr>
			</thead> 
			<tbody>
				<tr>
					<td>ad</td> 
					<td>Email_Adress</td> 
					<td>是</td> 
					<td>发送的邮件地址</td>
				</tr> 
				<tr>
					<td>submit</td> 
					<td>true</td> 
					<td>是</td> 
					<td>是否自动提交</td>
				</tr>
			</tbody>
		</table>
		
		<code >
			< form action="http://xyxywan.gitee.io/websocket/" method="get"><br>
				Email Adress:< input type="text" name="ad"placeholder="输入您的邮箱地址" /><br>
				< input type="text" name="submit" value="true" /><br>
				< input type="submit" value="Submit form" /><br>
			< /form>
		</code>

	</div>
	<br>
</span>

	
</body>
<script src="./js/websocket.js" type="text/javascript" charset="utf-8"></script>
	
</html>